Skip to content

fix: prevent duplicate sponsor commitments - #74

Merged
tmm merged 5 commits into
mainfrom
tmm/fix-sponsor-failures
Jul 28, 2026
Merged

fix: prevent duplicate sponsor commitments#74
tmm merged 5 commits into
mainfrom
tmm/fix-sponsor-failures

Conversation

@tmm

@tmm tmm commented Jul 28, 2026

Copy link
Copy Markdown
Member

Summary

  • upgrade viem from 2.50.4 to 2.55.10
  • preserve relay-prefilled fee payer signatures and avoid post-signature gas mutation through upstream fixes
  • adapt token balance reads to viem's structured amount return type

Context

Production investigation found 18 successful sponsor API calls for 9 finalized transactions. Each access-key transaction created a fill intent and a second raw-sign commitment with a different sign payload; the obsolete fill intent later expired and appeared as a failed sponsorship. The upgraded viem release contains the fixes that keep the prefilled signature valid and eliminate the duplicate commitment.

Verification

  • pnpm check
  • pnpm check:types
  • pnpm test (352 passed)
  • pnpm test:e2e (20 passed)

@socket-security

socket-security Bot commented Jul 28, 2026

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addedhono@​4.12.27991009796100
Updatedviem@​2.50.4 ⏵ 2.55.109710010098 +2100

View full report

@github-actions

github-actions Bot commented Jul 28, 2026

Copy link
Copy Markdown

The latest Tipbot preview deployment for d2b2e40

Name Status Preview Updated (UTC)
pr74 Shut Down Shut Down pr74.tip.bot Jul 28, 2026, 9:02 PM

@tmm
tmm merged commit fefcf39 into main Jul 28, 2026
9 checks passed
@tmm
tmm deleted the tmm/fix-sponsor-failures branch July 28, 2026 21:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant